/*
	Created		2011-3-27 17:14:11
*/


{ page		width="960"	height="480"
			line_color="-1"	fill_color="-1"
			sheet="Timeline: Governments 1945-2010"
}

{ graph		fill_color="0xffffff"	line_color="0"
			x_pad="10"	y_pad="5"
			antialias="0"
}
{ plot		fill_color="0xdddddd"	line_color="rgb(200,200,200)"
			x_pad="5"	y_pad="5"
			antialias="0"
}


{ x_axis		min="1/1/1943"		max="1/1/2012"	}
{ y_axis		min="-20"			max="20"	}


{ plot_x_axis_top
			text="UK Governments 1945-2010 Labour vs Conservative"
			text_size="20"		x_justify="0.5"		y_justify="0.5"	y_pad="10"
}

{ plot_x_axis	text="22 April 2009 & 27 March 2011"		text_size="12"	x_justify="0"	}
{ plot_x_axis	text="by Mark Tyler"						text_size="12"	y_pad="5"	}
{ plot_x_axis	text="Data Source: www.politicsresources.net"	text_size="12"	x_justify="1"	}


/*	This is a neat trick to get an aliased line, but anti-aliased arrowhead	*/

{ plot_line	data="r3c1:r31c1"	arrowhead="7"	fill_color="0"	line_color="-1"	}
{ plot_line	data="r3c1:r31c1"	arrowhead="7"	fill_color="-1"	antialias="0"	text_color="-1"	}


/*	LABOUR BOXES ABOVE	*/

{ plot_box	fill_color="rgb( 255, 80, 80 )"	text_color="rgb(255,255,255)"
			y_justify="0"	y_pad="2"
			data="r3c7:r16c7"
			antialias="0"
}

/*	LABOUR BOXES BELOW	*/

{ plot_box	fill_color="rgb( 255, 80, 80 )"	text_color="rgb(255,255,255)"
			y_justify="1"	y_pad="2"
			data="r3c13:r16c13"
			antialias="0"
}

/*	CONSERVATIVE BOXES ABOVE	*/

{ plot_box	fill_color="rgb( 100, 100, 255 )"	text_color="rgb(255,255,255)"
			y_justify="0"	y_pad="2"
			data="r3c19:r16c19"
			antialias="0"
}

/*	CONSERVATIVE BOXES BELOW	*/

{ plot_box	fill_color="rgb( 100, 100, 255 )"	text_color="rgb(255,255,255)"
			y_justify="1"	y_pad="2"
			data="r3c25:r16c25"
			antialias="0"
}

/*	DECADE TITLES	*/

{ plot_box	fill_color="rgb( 255, 255, 136 )"
			data="r3c31:r16c31"
			antialias="0"
}

